package com.innovations.inn.domain;

import com.innovations.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 消息中心对象 message_center
 * 
 * @author dp
 * @date 2024-08-09
 */
@Data
public class MessageCenter
{
    private static final long serialVersionUID = 1L;

    /** 消息标识 */
    private Long messageId;

    /** 消息描述 */
    @Excel(name = "消息描述")
    private String messageDesc;

    /** 手机短信描述 */
    @Excel(name = "手机短信描述")
    private String shortMessage;

    /** 是否手机短信通知 */
    @Excel(name = "是否手机短信通知")
    private Long isShortMessage;

    /** 创建人标识 */
    private Long createBy;

    /** 创建时间 */
    private Date createTime;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDeleted;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("messageDesc", getMessageDesc())
            .append("shortMessage", getShortMessage())
            .append("isShortMessage", getIsShortMessage())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
